def increament_id():
    while 1:
        for i in range(1111, 9999):
            yield i

g = increament_id()
print(g.__next__())
